package ${package.Mapper};

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ${package.Entity}.${entity};
import ${superMapperClassPackage};

/**
 * <p>
 * ${table.comment!} Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.mapperName} : ${superMapperClass}<${entity}>
<#else>
public interface ${table.mapperName} extends ${superMapperClass}<${entity}> {

      /**
      * 查询${table.comment!}分页数据
      */
      IPage<${entity}DTO> get${entity}List(Page page);

      /**
      * 根据id查询数据
      */
      ${entity}DTO get${entity}ById(Long id);

}
</#if>
